package com.huonan.jb.tools.esuse.export.apps;

import cn.hutool.core.io.FileUtil;

import java.util.List;

public class main {

    public static void main(String[] args) {
        String path = "/Users/lxp/IdeaProjects/Study/MainTest/data/static_photo/result.txt";
        List<String> list = FileUtil.readUtf8Lines(path);
        int count = 0;
        for (String s : list) {
            String s1 = s.split(",")[1];
            int value = Integer.parseInt(s1);
            count += value;
        }
        System.out.println(count);
    }
}
